﻿using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Microsoft.AspNetCore.Razor.TagHelpers;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers;

namespace Bangle.Abp.TagHelperPlus.TagHelpers.FormGroup
{
    public class AbpFormGroupTagHelperService : AbpTagHelperService<AbpFormGroupTagHelper>
    {
        public AbpFormGroupTagHelperService()
        {
        }

        public override void Process(TagHelperContext context, TagHelperOutput output)
        {
            output.TagName = "div";
            output.Attributes.AddClass("mb-3");
            output.TagMode = TagMode.StartTagAndEndTag;
        }
    }
}